package com.example.prison.service;

import com.example.prison.entity.PushManagement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【push_management】的数据库操作Service
* @createDate 2023-05-29 16:43:34
*/
public interface PushManagementService extends IService<PushManagement> {

    PageInfo<PushManagement> get(int pageNumber, int pageSize, String alarmLevel);

    int add(PushManagement push);

    void delete(Integer[] ids);

    int update(PushManagement push, Integer id);

    PushManagement getById(Integer id);

    PushManagement getOneByAlarmLevel(String alarmLevel);


//    int handlePush(PushManagement push, Integer id);

}
